package com.pfs.internal.timestamp.services;

import org.springframework.beans.factory.annotation.Autowired;

import com.pfs.internal.timestamp.repositories.HWIndependentDevicesRepositoryImpl;

public class CategoryServiceImpl {
	@Autowired
	private HWIndependentDevicesRepositoryImpl hWIndependentDevicesRepository;
	public long count() {
		try {
			return hWIndependentDevicesRepository.count();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return -1;
		//return 1000l;
	}
	public void sethWIndependentDevicesRepository(HWIndependentDevicesRepositoryImpl hWIndependentDevicesRepository) {
		this.hWIndependentDevicesRepository = hWIndependentDevicesRepository;
	}
	
	
}
